package cn.itcast.service;

import cn.itcast.domain.Account;
import org.apache.ibatis.annotations.Insert;
import org.springframework.stereotype.Service;

import java.util.List;

public interface AccountService {

    void transfer(Integer inId, Integer outId, Double money)throws Exception;
    List<Account> findAll();
    Account findById(Insert id);
}
